package cn.wsalix.admin.service;

import java.util.List;
import java.util.Map;

import cn.anlaser.service.ParentService;
import cn.wsalix.admin.entity.SysDict;
import cn.wsalix.admin.entity.SysMenu;
import cn.wsalix.admin.form.DictForm;
import cn.wsalix.admin.repository.DictRepository;

public interface DictService extends
		ParentService<DictForm, DictRepository, SysDict> {

	SysDict findByCodeOne(String code);

	public List<SysDict> findsByCode(String code);
	
	public Map<String, SysDict> getMapByCode(String code);

	List<SysDict> findSubsByCode(String code);

	void forbidden(Long id);

	void invocation(Long id);

}
